﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BITUI.Audio
{
    public interface IAudioData : IDisposable
    {
        string[] ExtNames
        {
            get;
        }
        bool Load(string filename);
        bool Load(System.IO.Stream stream);

        int Freq
        {
            get;
        }
        int Channel
        {
            get;
        }
        float Time
        {
            get;
        }
        float ReadTime
        {
            get;
        }
        void Reset();
        void SeekTo(float time);
        int ReadFloat(float[] data, int offset, int count);

    }
}
